package com.sky.controller.user;

import com.sky.dto.NonHeritageDTO;
import com.sky.result.PageResult;
import com.sky.result.Result;
import com.sky.vo.NonHeritagePageVO;
import com.sky.vo.NonHeritageVO;
import io.swagger.annotations.Api;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.*;

@Slf4j
@RestController("userNonHeritageController")
@RequestMapping("/user/nonHeritage")
@Api(tags = "用户端非遗信息相关接口")
public class NonHeritageController {


    /**
     * 根据id查询指定非遗信息
     */
    @GetMapping("/{id}")
    public Result<NonHeritageVO> GetNonHeritage(@PathVariable Integer id){
        return Result.success();
    }

    /**
     * 分页查询非遗信息
     */
    @GetMapping("/page")
    public Result<PageResult<NonHeritagePageVO>> page(){
        return Result.success();
    }
}
